//
//  ListUpCell.m
//  UI_xiangmu
//
//  Created by dllo on 15/4/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ListUpCell.h"

@implementation ListUpCell

-(instancetype)initWithFrame:(CGRect)frame
{
    [super initWithFrame:frame];
    self.myview = [[UIView alloc] init];
    [self.contentView addSubview:self.myview];
    [_myview release];
    self.picimage = [[UIImageView alloc] init];
    [self.myview addSubview:self.picimage];
    [_picimage release];
    self.myimage = [[UIImageView alloc] init];
    [self.myview addSubview:self.myimage];
    [_myimage release];
    self.mylabel = [[UILabel alloc] init];
    [self.myview addSubview:self.mylabel];
    [_mylabel release];
    self.myview.layer.borderWidth = 1;
    self.myview.layer.cornerRadius = 10;
    self.myview.frame = CGRectMake(2, 2, self.contentView.frame.size.width-4, self.contentView.frame.size.height - 4);
    self.picimage.frame = CGRectMake(4, 3, self.myview.frame.size.width-8, self.myview.frame.size.height-22);
    self.myimage.frame = CGRectMake(3, 124, 40, 20);
    self.mylabel.frame = CGRectMake(45, 124, 120, 20);
    self.myview.backgroundColor = [UIColor whiteColor];
    self.mylabel.font = [UIFont systemFontOfSize:14];
    
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
